<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>main</title>
<load href='__PUBLIC__/Css/admin.css' />
<load href='__PUBLIC__/Js/admin_manage.js' />
</head>
<body id="main">

<div class="map">
	管理首页 &gt;&gt; 内容管理 &gt;&gt; <strong id="title">评论列表</strong>
</div>

<ol>
	<li><a href="__URL__/index" class="selected">评论列表</a></li>
</ol>
<form method="post" action="__URL__/check">
<table cellspacing="0">
	<tr><th>编号</th><th>评论内容</th><th>评论者</th><th>所属文档</th><th>状态</th><th>批审</th><th>操作</th></tr>
	<volist name="list" id="vo">
	<tr>
		<td>{$vo.id}</td>
		<td title="{$vo.complete}">{$vo.content}</td>
		<if condition="$vo.user neq null">
		<td>{$vo.user}</td>
		<else />
		<td>游客</td>
		</if>
		<td><a href="__ROOT__/index.php/List/details/id/{$vo.aid}" target="_blank" title="{$vo.title}">[{$vo.title}]&nbsp;查看</a></td>
		<if condition="$vo.state eq 0">
		<td><span class="red">[未审核]</span> | <a href="__URL__/pass/id/{$vo.id}">通过</a></td>
		<else />
		<td><span class="green">[已审核]</span> | <a href="__URL__/cancel/id/{$vo.id}">取消</a></td>
		</if>
		<td><input type="text" name="states[]" value="{$vo.state}" class="text sort" /><input type="hidden" name="ids[]" value="{$vo.id}" /></td>
		<td><a href="__URL__/delete/id/{$vo.id}" onclick="return confirm('你真的要删除这条评论员吗？') ? true : false">删除</a></td>
	</tr>
	</volist>
	<tr><td></td><td></td><td></td><td></td><td></td><td><input type="submit" name="send" value="批审" style="cursor:pointer;" /></td><td></td></tr>
</table>
</form>
<div id="page">{$page}</div>
</body>
</html>